package com.brower.project.base

import android.content.Intent
import androidx.lifecycle.MutableLiveData

class UIChange {
    val finish by lazy { MutableLiveData<FinishData>() }    //显示加载框
    val titleData by lazy { MutableLiveData<String>() }    //标题
    val toast by lazy { MutableLiveData<String>() }
    val showLoadView by lazy { MutableLiveData<Boolean>() }
    val dismissLoadView by lazy { MutableLiveData<Boolean>() }
}

data class FinishData(var isFinish: Boolean, var intent: Intent? = null)